echo "Install x86 IME..."

md "C:\Program Files (x86)\IME\"
copy /Y C:\IME\tsfime\BasicTextService\Debug\BasicTextService.dll "C:\Program Files (x86)\IME\"
c:\windows\syswow64\regsvr32 /s "C:\Program Files (x86)\IME\BasicTextService.dll"

echo "Install x64 IME..."
md "C:\Program Files\IME\"
copy /Y C:\IME\tsfime\BasicTextService\x64\Debug\BasicTextService.dll "C:\Program Files\IME\"
c:\windows\system32\regsvr32 /s "C:\Program Files\IME\BasicTextService.dll"

echo "done"